//
// Copyright (c) 2024 BPer
//
#ifndef SRC_BPERSDP_BPERMEDIAPAYLOADTYPE_H_
#define SRC_BPERSDP_BPERMEDIAPAYLOADTYPE_H_

#include <bperutil/BPerType.h>
#include "BPerSdpType.h"

typedef struct{
    int32_t payload_type;

    char encoding_name[16];
    int32_t clock_rate;
    char encoding_param[256];
   char format_specific_param[128];

   BPerStringVector rtcp_fb;

}BPerMediaPayloadType;
bPer_vector_declare(BPerMediaPayloadType)

int32_t bPer_encode_mediapayloadtype(BPerMediaPayloadType* payload,BPerBuffer* os);

#endif /* SRC_BPERSDP_BPERMEDIAPAYLOADTYPE_H_ */
